<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Leaf Open UTAU Qt: VoiceBankManagerWindow类 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">Leaf Open UTAU Qt
   </div>
   <div id="projectbrief">UTAU的简单开源实现之一</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#nested-classes">类</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pro-methods">Protected 成员函数</a> &#124;
<a href="class_voice_bank_manager_window-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">VoiceBankManagerWindow类 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>音源管理器组件的主窗口。  
 <a href="class_voice_bank_manager_window.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="voicebankmanagerwindow_8h_source.html">voicebankmanagerwindow.h</a>&gt;</code></p>
<div class="dynheader">
类 VoiceBankManagerWindow 继承关系图:</div>
<div class="dyncontent">
 <div class="center">
  <img src="class_voice_bank_manager_window.png" alt=""/>
 </div></div>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5e7b3465040017be37c8777e8eb54513"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voice_bank_manager_window.html#a5e7b3465040017be37c8777e8eb54513">VoiceBankManagerWindow</a> (QWidget *parent=nullptr)</td></tr>
<tr class="separator:a5e7b3465040017be37c8777e8eb54513"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad76b5ed3528478581e56b82cab1c8134"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voice_bank_manager_window.html#ad76b5ed3528478581e56b82cab1c8134">~VoiceBankManagerWindow</a> () override</td></tr>
<tr class="separator:ad76b5ed3528478581e56b82cab1c8134"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:acb96140725ff8ab7bc04dbed1b969cbf"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voice_bank_manager_window.html#acb96140725ff8ab7bc04dbed1b969cbf">loadVoiceBanksAndTable</a> ()</td></tr>
<tr class="separator:acb96140725ff8ab7bc04dbed1b969cbf"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pro-methods"></a>
Protected 成员函数</h2></td></tr>
<tr class="memitem:aa6614e672e3cb410fa1c34188766a24b"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="class_voice_bank_manager_window.html#aa6614e672e3cb410fa1c34188766a24b">changeEvent</a> (QEvent *e) override</td></tr>
<tr class="separator:aa6614e672e3cb410fa1c34188766a24b"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>音源管理器组件的主窗口。 </p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="a5e7b3465040017be37c8777e8eb54513"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a5e7b3465040017be37c8777e8eb54513">&#9670;&nbsp;</a></span>VoiceBankManagerWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">VoiceBankManagerWindow::VoiceBankManagerWindow </td>
          <td>(</td>
          <td class="paramtype">QWidget *&#160;</td>
          <td class="paramname"><em>parent</em> = <code>nullptr</code></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">explicit</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_voice_bank_manager_window.html" title="音源管理器组件的主窗口。">VoiceBankManagerWindow</a> 的构造函数。它将会自动加载相关设置，但不会加载音源库。因为那是 <a class="el" href="class_voice_bank_handler.html" title="用于管理一系列VoiceBank。">VoiceBankHandler</a> 的工作。 <br />
<a class="el" href="class_voice_bank_manager_window.html" title="音源管理器组件的主窗口。">VoiceBankManagerWindow</a> 会自动获取 <a class="el" href="class_voice_bank_handler.html" title="用于管理一系列VoiceBank。">VoiceBankHandler</a> 的实例。您只需要调用 <a class="el" href="class_voice_bank_manager_window.html#acb96140725ff8ab7bc04dbed1b969cbf">VoiceBankManagerWindow::loadVoiceBanksAndTable()</a> 即可让 VoiceBankManager 加载音源库。</p>

</div>
</div>
<a id="ad76b5ed3528478581e56b82cab1c8134"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad76b5ed3528478581e56b82cab1c8134">&#9670;&nbsp;</a></span>~VoiceBankManagerWindow()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">VoiceBankManagerWindow::~VoiceBankManagerWindow </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p><a class="el" href="class_voice_bank_manager_window.html" title="音源管理器组件的主窗口。">VoiceBankManagerWindow</a> 的析构函数。它将自动保存窗口状态，监视文件夹等设置。</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aa6614e672e3cb410fa1c34188766a24b"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6614e672e3cb410fa1c34188766a24b">&#9670;&nbsp;</a></span>changeEvent()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">void VoiceBankManagerWindow::changeEvent </td>
          <td>(</td>
          <td class="paramtype">QEvent *&#160;</td>
          <td class="paramname"><em>e</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">override</span><span class="mlabel">protected</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">
<p>继承自 QWidget 的 QWidget::changeEvent(QEvent *e) 。<br />
此函数用于处理语言变化后的相关操作。</p>

</div>
</div>
<a id="acb96140725ff8ab7bc04dbed1b969cbf"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acb96140725ff8ab7bc04dbed1b969cbf">&#9670;&nbsp;</a></span>loadVoiceBanksAndTable()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void VoiceBankManagerWindow::loadVoiceBanksAndTable </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">
<p>加载音源库列表，并填充窗口中的表格。<br />
 <a class="el" href="class_voice_bank_manager_window.html" title="音源管理器组件的主窗口。">VoiceBankManagerWindow</a> 会自动处理相关的UI变化，所以在合适的时机调用该函数即可。<br />
如果您不是在 <a class="el" href="class_voice_bank_manager_window.html" title="音源管理器组件的主窗口。">VoiceBankManagerWindow</a> 打开之时加载音源库，您可以直接使用 <a class="el" href="class_voice_bank_handler.html#a256ecd28588492543c58c81e5de9cc7a">VoiceBankHandler::readVoiceBanksFromMonitorFolders()</a> 。</p>

</div>
</div>
<hr/>该类的文档由以下文件生成:<ul>
<li>VoiceBankUtils/<a class="el" href="voicebankmanagerwindow_8h_source.html">voicebankmanagerwindow.h</a></li>
<li>VoiceBankUtils/voicebankmanagerwindow.cpp</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.15
</small></address>
</body>
</html>
